package org.example.dto;

import javax.jnlp.IntegrationService;
import java.io.Serializable;

/**
 * @author Rongchang Wu
 */
public class MajorDto implements Serializable {
    private static final long serialVersionUID = 4337742294493423612L;

    private Integer majorId;
    private String majorName;
    private String department;

    public MajorDto() {
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    @Override
    public String toString() {
        return "MajorDto{" +
                "majorId=" + majorId +
                ", majorName='" + majorName + '\'' +
                ", department='" + department + '\'' +
                '}';
    }
}
